export default function Rectangle(props){
    const {color,title}=props;
    return(
        <div style={{height:'40px',lineHeight:'40px',fontSize:'15px'}}>
            <h1><span style={{background:color,width:10,height:15,marginRight:10,display:'inline-block'}}></span>{title}</h1>
        </div>
        
    )
}